<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CP2130 Userspace Driver/Library: /home/rafael/Development/cp2130/src/include/debug_macros.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CP2130 Userspace Driver/Library
   &#160;<span id="projectnumber">sv0a</span>
   </div>
   <div id="projectbrief">opensourceClibraryforusewiththecp2130usbtospibridge</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b0856f6b0d80ccb263b2f415c91f9e17.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">debug_macros.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="debug__macros_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __DEBUG_MACROS_H__</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __DEBUG_MACROS_H__</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a1b3c2a78a955896d7dc2550ad62775f1">    4</a></span>&#160;<span class="preprocessor">#define DBGPRINTLN_CTX(FORMAT, ...)  printf(&quot;[%s] - &quot; FORMAT &quot;\r\n&quot;, __FUNCTION__, ##__VA_ARGS__)</span></div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a57111ba4799347f0fb86046d36befc0b">    5</a></span>&#160;<span class="preprocessor">#define DBGPRINT_CTX(FORMAT, ...)  printf(&quot;[%s] - &quot; FORMAT, __FUNCTION__, ##__VA_ARGS__)</span></div><div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a3290a408f87562d0c90c51d66ae04af1">    6</a></span>&#160;<span class="preprocessor">#define DBGPRINTLN(FORMAT, ...) printf(FORMAT &quot;\r\n&quot;, ##__VA_ARGS__)</span></div><div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a1eb2e404fea28436f54f2ec233ee25ea">    7</a></span>&#160;<span class="preprocessor">#define DBGPRINT(FORMAT, ...) printf(FORMAT, ##__VA_ARGS__)</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a6526286efede9ef6035708d5d31754e1">    9</a></span>&#160;<span class="preprocessor">#define FDBGPRINTLN_CTX(FN, FORMAT, ...)  fctprintf(FN, 0, &quot;[%s] - &quot; FORMAT &quot;\r\n&quot;, __FUNCTION__, ##__VA_ARGS__)</span></div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a382849647153231127974d1db62ddf50">   10</a></span>&#160;<span class="preprocessor">#define FDBGPRINT_CTX(FN, FORMAT, ...)  fctprintf(FN, 0, &quot;[%s] - &quot; FORMAT, __FUNCTION__, ##__VA_ARGS__)</span></div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#aa31ed5f5cce206c263377504a595502c">   11</a></span>&#160;<span class="preprocessor">#define FDBGPRINTLN(FN, FORMAT, ...) fctprintf(FN, 0, FORMAT &quot;\r\n&quot;, ##__VA_ARGS__)</span></div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a714954b109c3fb61453bdc48a80edd54">   12</a></span>&#160;<span class="preprocessor">#define FDBGPRINT(FN, FORMAT, ...) fctprintf(FN, 0, FORMAT, ##__VA_ARGS__)</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a7203c07743bd87cad929b506582dd943">   14</a></span>&#160;<span class="preprocessor">#define FNBDBGPRINTLN_CTX(FN, FORMAT, ...)  FN(&quot;[%s] - &quot; FORMAT &quot;\r\n&quot;, __FUNCTION__, ##__VA_ARGS__)</span></div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#a01e0cc38ba058b573ab6ba0ccf960d5a">   15</a></span>&#160;<span class="preprocessor">#define FNBDBGPRINT_CTX(FN, FORMAT, ...)  FN(&quot;[%s] - &quot; FORMAT, __FUNCTION__, ##__VA_ARGS__)</span></div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#ac16fcfa8cf2abb802516a535429d2dea">   16</a></span>&#160;<span class="preprocessor">#define FNBDBGPRINTLN(FN, FORMAT, ...) FN(FORMAT &quot;\r\n&quot;, ##__VA_ARGS__)</span></div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="debug__macros_8h.html#aad9737d77e94e1bfcabe624377123df2">   17</a></span>&#160;<span class="preprocessor">#define FNBDBGPRINT(FN, FORMAT, ...) FN(FORMAT, ##__VA_ARGS__)</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif  // __DEBUG_MACROS_H__</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
